package com.moonshineproject.plugin.menu.vo
{
	import __AS3__.vec.Vector;
	
	public class MenuItem extends Object
	{
		public function MenuItem(label:String, items:Array=null, event:String=null,
								 mac_key:*=null, mac_mod:Array=null,
								 win_key:*=null, win_mod:Array=null,
								 parent:Array=null)
		{
			this.label = label;
			if(!label)
			{
				isSeparator = true;
			}
				
			if (items) 
			{
				this.items = Vector.<MenuItem>(items);
			}
			
			this.event = event;
			
			this.mac_key = mac_key;
			this.mac_mod = mac_mod;
			
			this.win_key = win_key;
			this.win_mod = win_mod;
		}
		
		public var label:String;
		public var items:Vector.<MenuItem>;
		
		public var event:String;
		
		public var mac_key:*;
		public var mac_mod:Array;
		
		public var win_key:*;
		public var win_mod:Array;
		
		public var isSeparator:Boolean;
		public var parents:Array; 
	}
}